<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="./font-awesome-4.7.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="./style.css">
    <title>全屏搜索栏</title>
</head>
<body>
    <div class="wrap">
        <input type="checkbox" id="search_btn" hidden>
        <label for="search_btn" class="search-btn">
            <i class="fa fa-search" aria-hidden="true"></i>
        </label>
        <input type="checkbox" id="search_btn" hidden>
        <label for="search_btn" class="close-btn">
            <i class="fa fa-close" aria-hidden="true"></i>
        </label>
        <div class="container">
            <div class="search-box">
                <input type="text" placeholder="请输入...">
                <i class="fa fa-search" aria-hidden="true"></i>
            </div>
        </div>
    </div>
</body>
</html>